//
//  TrackModel.h
//  KEREN
//
//  Created by MW on 2023/4/6.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface TrackModel : NSObject
+ (instancetype)initWithDictionary:(NSDictionary *)jsonDic;

@property (nonatomic, strong) NSString *start_name;//起点地名
@property (nonatomic, strong) NSString *end_name;//终点地名
@property (nonatomic, assign) NSInteger start_time;//开始时间戳
@property (nonatomic, assign) NSInteger end_time;//结束时间戳
@property (nonatomic, assign) NSInteger mileage;//里程数（米）
@property (nonatomic, assign) NSInteger avg_speed;//平均时速（km/h）
@property (nonatomic, assign) NSInteger max_speed;//最高时速（km/h）
@property (nonatomic, assign) NSInteger created_at;//创建时间
@property (nonatomic, assign) NSInteger updated_at;//更新时间
@property (nonatomic, assign) NSInteger Id;
@property (nonatomic, strong) NSArray *track_list;
@property (nonatomic, strong) NSDictionary *start_coordinate;
@property (nonatomic, strong) NSDictionary *end_coordinate;
@end

NS_ASSUME_NONNULL_END
